RangeNoteExpressionType Class Reference
[VST Implementation Helper Classes]

Note expression type object representing a custom range. More...

#include <vstnoteexpressiontypes.h>

Inheritance diagram for RangeNoteExpressionType:
Inheritance graph
[legend]

Public Member Functions

 RangeNoteExpressionType (NoteExpressionTypeID typeId, const TChar *title, const TChar *shortTitle, const TChar *units, int32 unitId, NoteExpressionValue defaultPlainValue, NoteExpressionValue plainMin, NoteExpressionValue plainMax, int32 flags=0, int32 precision=4)
virtual ParamValue getMin () const
 Gets the minimum plain value.
virtual void setMin (ParamValue value)
 Sets the minimum plain value.
virtual ParamValue getMax () const
 Gets the maximum plain value.
virtual void setMax (ParamValue value)
 Sets the maximum plain value.
virtual tresult getStringByValue (NoteExpressionValue valueNormalized, String128 string)
virtual tresult getValueByString (const TChar *string, NoteExpressionValue &valueNormalized)

Data Fields

OBJ_METHODS(RangeNoteExpressionType,
NoteExpressionType) protected
NoteExpressionValue 
plainMax

Detailed Description

Note expression type object representing a custom range.


Constructor & Destructor Documentation

RangeNoteExpressionType ( NoteExpressionTypeID  typeId,
const TChar title,
const TChar shortTitle,
const TChar units,
int32  unitId,
NoteExpressionValue  defaultPlainValue,
NoteExpressionValue  plainMin,
NoteExpressionValue  plainMax,
int32  flags = 0,
int32  precision = 4 
)

Member Function Documentation

virtual ParamValue getMin (  )  const [inline, virtual]

Gets the minimum plain value.

virtual void setMin ( ParamValue  value  )  [inline, virtual]

Sets the minimum plain value.

virtual ParamValue getMax (  )  const [inline, virtual]

Gets the maximum plain value.

virtual void setMax ( ParamValue  value  )  [inline, virtual]

Sets the maximum plain value.

tresult getStringByValue ( NoteExpressionValue  valueNormalized,
String128  string 
) [virtual]

Reimplemented from NoteExpressionType.

tresult getValueByString ( const TChar string,
NoteExpressionValue valueNormalized 
) [virtual]

Reimplemented from NoteExpressionType.


Field Documentation

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines
Empty

Copyright ©2013 Steinberg Media Technologies GmbH. All Rights Reserved.